export default function (callback){
    //页面加载完成
    if(document.readyState ==='complete'){
        callback()
    } else {
        window.addEventListener('load',callback)
    }
}